package com.wind.trademark.base.service;

import java.util.List;
import java.util.Map;

import com.wind.trademark.base.model.BsCategory;
import com.wind.trademark.common.vo.ComboBean;
import com.wind.trademark.common.vo.PageBean;
import com.wind.trademark.common.vo.PageParam;



/**
 * @author <a href="mailto:xmufeng@163.com">Wind Wu</a>
 * 
 */
public interface CategoryService {

	BsCategory saveCategory(BsCategory category);

	void updateCategory(BsCategory category);
	
	PageBean queryCategory(PageParam pageParam, Map<String, Object> params);

	void deleteCategory(Long id);

	BsCategory getCategory(Long id);

	List<ComboBean> goolgeL2Category(String queryParam);
	
	void updateCategoryEnName(BsCategory category);

	List<BsCategory> getL1AndL2Category();

	void deleteCategories(List<Long> ids);

	BsCategory saveOrUpdateCategory(BsCategory category);

	List<ComboBean> getL2Category();

	BsCategory loadCategory(Long id);

	List<ComboBean> goolgeL1AndL2Category(Map<String, Object> params);

}